﻿using System;
using System.Threading;

namespace MyApp
{
    class Program
    {
        static void Main( )
        {           
            homeTask();
        }
       private static void homeTask()
    {
        string strLine;
            Console.WriteLine("Whats your name?");
            Console.WriteLine("Hi {0}!!!\n How old are you?", strLine=Console.ReadLine());
            Console.WriteLine("Your age is {0} and im {1} \n Where do you live?", strLine=Console.ReadLine(), Convert.ToInt32(strLine)+5);
            Console.WriteLine("I want to live in {0} too! \n \n \n ", strLine=Console.ReadLine());
            Console.WriteLine("And now enter three numbers:");
            try
            {
                int num1 = Int32.Parse(Console.ReadLine());
                int num2 = Int32.Parse(Console.ReadLine());
                int num3 = Int32.Parse(Console.ReadLine());
                Console.WriteLine("third number = {0} \n second number = {1} \n first number = {2}", num3, num2, num1);
            }
            catch (FormatException)
            {
                Console.WriteLine("Unable to convert");            
            }            
            Console.ReadKey();
    }       
    }
}
